package org.zsk.cs.dao;

import org.springframework.stereotype.Repository;
import org.zsk.cs.domain.po.IdentityAuth;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 社区身份认证 dao
 * </p>
 *
 * @author zsk
 * @version 1.0
 * Created on 2020/03/26
 */
@Repository
public interface IdentityAuthDao extends BaseMapper<IdentityAuth>{

    /**
     * 根据居民id查找区长id
     * @param residentId 居民id
     * @return 区长id
     */
    Long selectDistrictHeadIdByResidentId(Long residentId);
}
